package com.leadingsoft.pwxk.converter;

import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.FsinfoTableCxssDto;
import com.leadingsoft.pwxk.model.FsinfoTableCxss;

/**
 * @author: lipan 2018年5月15日
 * @description: ()
 * 
 */

@Component
public class FsinfoTableCxssConverter extends AbstractConverter<FsinfoTableCxss, FsinfoTableCxssDto> {

	@Override
	protected FsinfoTableCxssDto toDtoActual(FsinfoTableCxss model) {

		FsinfoTableCxssDto dto = new FsinfoTableCxssDto();
		dto.setId(model.getId());
		dto.setDataid(model.getDataid());
		dto.setCsxxothercontent(model.getCsxxothercontent());
		dto.setFsdesignvalue(model.getFsdesignvalue());
		dto.setFsparametername(model.getFsparametername());
		dto.setMeasurement(model.getMeasurement());
	
		return dto;
	}

	@Override
	public void copyProperties(FsinfoTableCxss model, FsinfoTableCxssDto dto) {

	}

}
